package com.wish.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author 闫东浩
 * @since 2021-03-29
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = false)
@TableName("tb_house_info")
public class HouseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private Integer premisesId;

    private Integer leaseType;

    private String buildingNo;

    private String unitNo;

    private String roomNo;

    private String flatName;

    private Integer room;

    private Integer hall;

    private Double proportion;

    private Integer floor;

    private Integer floorCount;

    private Integer decorate;

    /**
     * 支付方式-押 1 押一 2 押二 3 押三
     */
    private Integer paymentMortgage;

    /**
     * 支付方式-付 1 付一 2 付二 3 付三 4 付四 5 付五 6 付六
     */
    private Integer paymentPay;

    private Integer manager;

    private Integer type;

    private String publicFacility;

    private String introduce;

    private Integer status;

    private Integer publishStatus;

    private String createTime;

    private String createBy;

    private Integer reserve1;

    private Integer reserve2;

    private String reserve3;

    private String reserve4;

    private String reserve5;

    private Integer deptId;

    /**
     * 删除标识。0:未删除，1：删除
     */
    private Boolean delFlg;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
    @TableField(exist = false)
    private String buildName;
    @TableField(exist = false)
    private Integer houseDecorate;
    @TableField(exist = false)
    private String preName;
    @TableField(exist = false)
    private Integer sid;
    @TableField(exist = false)
    private Integer cid;
    @TableField(exist = false)
    private  Integer did;
    @TableField(exist = false)
    private Integer finishDate1;
    @TableField(exist = false)
    private Integer vacancyDate1;
    @TableField(exist = false)
    private String roomId;
    @TableField(exist = false)
    private Double rental;
    @TableField(exist = false)
    private Integer roomCode;
    @TableField(exist = false)
    private Integer roomStatus;
    @TableField(exist = false)
    private Long beforeCfContractId;
    @TableField(exist = false)
    private Integer checkTerm;
    @TableField(exist = false)
    private String tenantName;
    @TableField(exist = false)
    private String cEndDate;
    @TableField(exist = false)
    private Double rentalPrice;
    @TableField(exist = false)
    private String rcDates;
    @TableField(exist = false)
    private Integer zyblFlag;
    @TableField(exist = false)
    private Integer rentInstallmentFlg;
    @TableField(exist = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date rCreateTime;
    @TableField(exist = false)
    private Integer roomNum;
    @TableField(exist = false)
    private List<TCfContract> contractList;
    @TableField(exist = false)
    private String houseId;

    @TableField(exist = false)
    private String imgHone;

    @TableField(exist = false)
    private String imgRoom;

    @TableField(exist = false)
    private String privateFacility;

    @TableField(exist = false)
    private List<HouseStyle> styleList;
}
